package com.dao;

import java.util.List;

import com.model.Workstation;
import com.util.JdbcUtil;

public class WorkstationDao {
  JdbcUtil jdbc = new JdbcUtil();
  //查询所有站点信息
  public List<Workstation> selectworkstation(){
	  String sql = "select * from workstation";
	  List<Workstation> station = jdbc.queryPreparedStatement(sql, Workstation.class);
	  return station;
  }
  
}
